package org.dromara.app.domain.bo;

import org.dromara.app.domain.SkExperience;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 经验信息LOG业务对象 sk_experience
 *
 * @author Evacuation
 * @date 2024-08-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = SkExperience.class, reverseConvertGenerate = false)
public class SkExperienceBo extends BaseEntity {

    /**
     * ID
     */
    @NotNull(message = "ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 最小
     */
    @NotNull(message = "最小不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long minNumber;

    /**
     * 最大
     */
    @NotNull(message = "最大不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long maxNumber;

    /**
     * 等级
     */
    @NotNull(message = "等级不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long grade;


}
